package BusLib;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


public class Street implements Serializable {
    int id_;
    String name_;
    List<Coordinates> points_;

     /*
     * Constructori.
     */
    public Street(){
        id_=0;
        name_=null;
        points_ = new ArrayList<Coordinates>();
    }
    public Street(int id, String name){
        id_=id;
        name_=name;
        points_ = new ArrayList<Coordinates>();
    }

    /*
     * Metode publice.
     */
    public int Id(){ return id_;}
    public void SetId( int id ){ id_ = id;}
    public String Name(){ return name_;}
    public void SetName( String name){ name_ = name;}
    public List<Coordinates> Points() { return points_; }

}
